package com.young.pattern.factoryMethodPattern;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class FileLoggerFactory extends LoggerFactory{
    @Override
    public Logger createLog() {
        Logger logger = new FileLogger();
        log.info("使用日志文件记录...");
        return logger;
    }
}
